import { Route } from 'react-keeper'

import VoteList from './votelist';
import VoteInfo from './voteInfo';
import VoteDetail from './voteDetail';

const PageTPEdit = (cb) => {
  require.ensure([], () => cb(require('./PageTouPiao.jsx')), 'tp')
};

export default {
  route: () => (
    <div className="toupiao-home">
      <Route loadComponent={PageTPEdit} path='/fa'>
        <VoteList.route/>
        <VoteInfo.route/>
        <VoteDetail.route/>
      </Route>
    </div>)
};


